<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <title>layout 后台大布局 - Layui</title>
  <link rel="stylesheet" href="../layui/css/layui.css">
  <link rel="stylesheet" href="../css/global.css">
  <link rel="stylesheet" href="../icheck/minimal/red.css">
</head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
  <div class="layui-header">
    <div class="layui-logo">layui 后台布局</div>
    <!-- 头部区域（可配合layui已有的水平导航） -->
    <ul class="layui-nav layui-layout-left">
      <li class="layui-nav-item"><a href="../user/capital.html">用户中心</a></li>
      <li class="layui-nav-item"><a href="../t.html" target="_Blank">接单</a></li>
    </ul>
    <ul class="layui-nav layui-layout-right">
      <li class="layui-nav-item" id="yongjin">佣金:</li>
	  <li class="layui-nav-item">
        <a href="javascript:;" id="username">
          <img src="" class="layui-nav-img" >
		  欢迎:
        </a>
        <dl class="layui-nav-child">
          <dd><a href="http://127.0.0.1:89/font/user/capital.html">基本资料</a></dd>
          <dd><a href="../user/changepassword.html">修改密码</a></dd>
        </dl>
      </li>
      <li class="layui-nav-item"><a href="../login.html">退了</a></li>
    </ul>
  </div>
  
  <div class="layui-side layui-bg-black">
    <div class="layui-side-scroll">
      <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
      <ul class="layui-nav layui-nav-tree"  lay-filter="test">
        <li class="layui-nav-item"><a href="../index.html">控制台</a></li>
        
        <li class="layui-nav-item layui-nav-itemed">
          <a href="javascript:;">用户中心</a>
          <dl class="layui-nav-child">
            <dd><a class="layui-this" href="../user/capital.html">用户中心</a></dd>
			<dd><a class="layui-this" href="../user/tixian.html">提现</a></dd>
          </dl>
        </li>
        
        <li class="layui-nav-item">
                <a href="javascript:;">种菜区</a>
                <dl class="layui-nav-child">
                    <dd><a href="../t.html" target="_Blank">种菜</a></dd>
					<dd><a href="foodmenuList.html">菜谱</a></dd>
					
					
                </dl>
            </li>
        
      </ul>
    </div>
  </div>
  
  <div class="layui-body">
    <!-- 内容主体区域 -->
    <div style="padding: 15px;">
        <fieldset class="layui-elem-field">
            <legend>任务列表</legend>
            <div class="layui-field-box">
				<form class="layui-form" action="">
					<div class="layui-form-item" style="text-align:center;">
						<div class="layui-inline">
							<div class="layui-input-inline">
							  <input autocomplete="off" class="layui-input" placeholder="请输入名称" type="text" name="name" value="">
							</div>
						</div>
						<div class="layui-inline" style="text-align:left;">
							<div class="layui-input-inline">
								<button class="layui-btn"><i class="layui-icon">&#xe615;</i>查询</button>
							</div>
						</div>
						<div class="layui-upload-list">
							<img class="layui-upload-img" id="demo1">
							<p id="demoText"></p>
						</div>
					</div>
				</form>
              <hr>
             
              <hr>
				<!-- <fieldset class="layui-elem-field layui-field-title" style="margin-top: 30px;"> -->
					<!-- <legend>常规使用：普通图片上传</legend> -->
				<!-- </fieldset> -->
				 
				<!-- <div class="layui-upload"> -->
				  <!-- <button type="button" class="layui-btn" id="test1">上传图片</button> -->
				  <!-- <div class="layui-upload-list"> -->
					<!-- <img class="layui-upload-img" id="demo1"> -->
					<!-- <p id="demoText"></p> -->
				  <!-- </div> -->
				<!-- </div>   -->
				<div class="layui-tab">
					<ul class="layui-tab-title">
						<li class="layui-this">未完成</li>
						<li>已完成</li>
						
					</ul>
					<div class="layui-tab-content">
						<div class="layui-tab-item layui-show">
							<table class="layui-table" id="foodmenuList" lay-filter="foodmenuList">
							 </table>
						</div>
						<div class="layui-tab-item">
							<table class="layui-table" id="yiwancheng" lay-filter="yiwancheng">
							</table>
						</div>
						
					</div>
				</div>
				
                  
				</table>
			  <!--操作-->
				<script type="text/html" id="renwuListBar">
					<a class="layui-btn layui-btn-xs" lay-event="Submit">提交完成</a>
					<!--<a class="layui-btn layui-btn-xs layui-btn-warm" lay-event="usable">已启用</a>-->
					<!--<a class="layui-btn layui-btn-xs layui-btn-warm" lay-event="detail">查看</a>-->
					<a class="layui-btn layui-btn-xs layui-btn-danger" lay-event="cancel">取消任务</a>
				</script>
				<script type="text/html" id="weishenhe">
					<a class="layui-btn layui-btn-xs layui-btn-danger" lay-event="weishenhe">查看审核</a>
				</script>
				<script type="text/html" id="chakanshenhe">
					<a class="layui-btn layui-btn-xs layui-btn-danger" lay-event="chakanshenhe">查看审核</a>
				</script>
				
				<script type="text/html" id="tijiaocailiao">
					
					<button class="layui-btn layui-btn-sm layui-btn-danger" id="dingdanjietu" lay-event="dingdanjietu">上传订单截图</button>
				</script>
            </div>
        </fieldset>
    </div>
  </div>
  
  <div class="layui-footer" id="bottom">
    
  </div>
</div>
<script type="text/javascript" src="../javascript/jquery.min.js"></script>
<script type="text/javascript" src="../layui/layui.js"></script>
<script type="text/javascript" src="../icheck/icheck.js"></script>
<script type="text/javascript" src="../javascript/dw.js"></script>
<script type="text/javascript" src="foodmenuList.js"></script>
<script>
	layui.use(['form','layer','jquery'],function(){
		var form = layui.form,
			layer = parent.layer === undefined ? layui.layer : top.layer
			$ = layui.jquery;
			$("#bottom").load("../user/bottom.html");
			console.log(localStorage.login_font_name);
			if(!localStorage.login_font_name||localStorage.login_font_name==''){
			layer.msg("您还未登录，请先登录后操作")
			
				setTimeout(function(){
					window.location.href = "http://127.0.0.1:89/font/login.html";
				},2000);
			}else{
				console.log(localStorage.login_font_name);
				//$("#user_name").append(localStorage.login_name);
				$("#username").append(localStorage.login_font_name);
				$("#yongjin").append(localStorage.login_font_yongjin);
			}
			
	
			
	})

</script>

</body>
</html>